import request from '@/utils/request'

// 查询票面价格列表
export function listTicketPrice(query) {
  return request({
    url: '/st/ticketPrice/list',
    method: 'get',
    params: query
  })
}

// 查询票面价格详细
export function getTicketPrice(id) {
  return request({
    url: '/st/ticketPrice/' + id,
    method: 'get'
  })
}

// 新增票面价格
export function addTicketPrice(data) {
  return request({
    url: '/st/ticketPrice',
    method: 'post',
    data: data
  })
}

// 修改票面价格
export function updateTicketPrice(data) {
  return request({
    url: '/st/ticketPrice',
    method: 'put',
    data: data
  })
}

// 删除票面价格
export function delTicketPrice(id) {
  return request({
    url: '/st/ticketPrice/' + id,
    method: 'delete'
  })
}
